package com.firefightingiot.firefightingiot.model;

import com.baomidou.mybatisplus.annotation.TableName;
import com.firefightingiot.firefightingiot.common.base.BasisEntity;

/**
 * @author Yang yu
 * @version 1.0
 * @date 2020/8/26 15:17
 */
@TableName("firelink_device.device_send_msg_state")
public class DeviceSendMsgState extends BasisEntity {
    /**
     * 设备分类名称
     */
    private String name;
    /**
     * 设备分类:1 电气火灾 2 消防用水 3 烟感 4 可燃气体 5 火灾自动联网 6 消防可视化
     */
    private String deviceClassify;
    /**
     * 是否发送短信：1 发送 2 不发送
     */
    private Integer msgState;
    /**
     * 发送短信的时间间隔
     */
    private String msgInterval;

    /**
     * 是否发送语音：1 发送 2 不发送
     */
    private Integer voiceState;
    /**
     * 发送语音的时间间隔
     */
    private String voiceInterval;
    /**
     * 设备号
     */
    private String number;

    public String getNumber() {
        return this.getString("number");
    }

    public void setNumber(String number) {
        this.put("number",number);
    }

    public String getName() {
        return this.getString("name");
    }

    public void setName(String name) {
        this.put("name",name);
    }

    public String getDeviceClassify() {
        return this.getString("deviceClassify");
    }

    public void setDeviceClassify(String deviceClassify) {
        this.put("deviceClassify",deviceClassify);
    }

    public Integer getMsgState() {
        return this.getInteger("msgState");
    }

    public void setMsgState(Integer msgState) {
        this.put("msgState",msgState);
    }

    public String getMsgInterval() {
        return this.getString("msgInterval");
    }

    public void setMsgInterval(String msgInterval) {
        this.put("msgInterval",msgInterval);
    }

    public Integer getVoiceState() {
        return this.getInteger("voiceState");
    }

    public void setVoiceState(Integer voiceState) {
        this.put("voiceState",voiceState);
    }

    public String getVoiceInterval() {
        return this.getString("voiceInterval");
    }

    public void setVoiceInterval(String voiceInterval) {
        this.put("voiceInterval",voiceInterval);
    }
}
